package hied;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;

@Root(name = "avgDev")
public class AvgDev {

	@Attribute(name = "avg")
	private float average;

	@Attribute(name = "stDev")
	private float stDev;

	public AvgDev(float avg, float stDev) {
		this.average = avg;
		this.stDev = stDev;
	}

	public AvgDev() {
	}

	public float getAverage() {
		return average;
	}

	public float getStDev() {
		return stDev;
	}

	@Override
	public String toString() {
		return "<" + average + "|" + stDev + ">";
	}
}
